package com.xunqi.sell.repository;

import com.xunqi.sell.pojo.OrderDetail;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

public interface OrderDetailRepository extends JpaRepository<OrderDetail,String> {

    OrderDetail findAllById(String detailId);

    List<OrderDetail> findByOrderId(String orderId);

}
